<?php	$atr=array(
					"name"=>"section",
					"onsubmit"=>"return checkSection()"
				  ); 
	echo form_open('section/edit1',$atr);
	$bar="Section Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>Section_ID </th>
		<th>SectionName</th>
		<th>Department_ID</th>
		<th>Action</th>
	</tr>
	<tr>
		<td><input type="text" name ="Session_ID" readonly="readonly" value=<?php echo $result->Session_ID; ?>></td>
   		<td><input type= "text" name ="SessionName" value="<?php echo $result->SessionName; ?>"></td>
   		<td><?php echo form_dropdown('Department_ID', $department,$result->Department_ID );?></td>   			
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
